//package com.comtroller;
//
//import com.domain.WiselyMessage;
//import com.domain.WiselyResponse;
//import org.springframework.messaging.handler.annotation.MessageMapping;
//import org.springframework.messaging.handler.annotation.SendTo;
//import org.springframework.stereotype.Controller;
//
//@Controller
//public class WsController {
//    @MessageMapping("/welcome")
//    @SendTo("/topic/getResponse")
//    public WiselyResponse say(WiselyMessage messge) throws InterruptedException {
//        return new WiselyResponse("Welconme, "+messge.getName());
//    }
//}
